﻿<form method="get" action="/search">
    <AntSearch Id="key" Value="@Key" Placeholder="全站搜索" />
</form>

@code {
    [SupplyParameterFromQuery] public string Key { get; set; }
}